<%@ page language="java"  pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>沈阳外卖网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Bootstrap -->
<link href="publicui/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<!--[if lt IE 9]>
  <script src="public/js/html5shiv.js"></script>
<![endif]-->
<!-- application  -->
<link href="css/head.css" rel="stylesheet" />
<link href="css/foot.css" rel="stylesheet" />
<link href="css/findpwd.css" rel="stylesheet" />

</head>

<body>
<!-----nav-->
<div class="head">
  <s:action name="top" executeResult="true"></s:action>
</div>
<!---/nav   --> 

<!---/body   -->
<div class="content" > 
<!--   content  -->
<ul class="nav_menu"  >
    <li >
        <a href="/at/entry/sohogongyu"> SOHO公寓 </a> &nbsp;
        <a href="index.action">[切换地址]</a>
        <span class="divider">/</span> <span>找回密码</span>
    </li>
    
</ul>
	

	<div class="row">
		<div class="round_box span12 kaidian bordered-box">
			<div class="content pt50 pb50" >
				<form method="post" action="password.action" id="myform">
				<input type="hidden" name="action" value="passwordEmail"/>
							<table class="ml10" border="0" cellspacing="10" cellpadding="0">
								
								<tr class="input_height">
									<td>
										<span class="red">*</span>
										<label for="restaurant_open_apply_applicant">
											用户名
										</label>
									</td>
									<td>
										<input type="text" name="username" id="username" maxlength="20"
											class="input_text "/><span class="success4" id="usernameMsg"></span>
									</td>
                                    
                                    
								</tr>
                                <tr>
									<td colspan="2" class="pl100 pt10">
										（您注册时使用的用户名）
									</td>
								</tr>
								<tr>
									<td>
										<span class="red">*</span>
										<label for="restaurant_open_apply_applicant">
											验证码
										</label>
									</td>
									<td>
										<input name="verifycode" id="verifycode" type="text" value="" size="5" maxlength="4" /><span class="success4" id="verifycodeMsg"></span>
									</td>
								</tr>
								<tr>
									<td colspan="2" class="pl100 pt10">
										<img alt="验证码" src="/authimg" id="authimg" align="absmiddle" />
										<a href="javascript:showAuthImg()" class="link_red">看不清楚？</a>
									</td>
								</tr>
								<tr>
									<td colspan="2" class="pl100 pt10">
										<button tabindex="5" type="submit"
											class="btn btn-warning" id="" onclick="VF_regflag();">
											找回密码
										</button>
									</td>
								</tr>
							</table>
						</form>
			</div>
		</div>
	</div>
	
<!--   /content  -->
  <s:action name="foot" executeResult="true"></s:action>
</div>
<!--  alert div start---->
<div id="copy_dlg_restaurant"  class="restaurant-hover-dlg right hide" >
  <div class="wrapper dark_shadow">
    <div class="callout_tip"></div>
    <div class="detail"> </div>
  </div>
</div>
<!--  alert div  end ---->

<!---/body   --> 


<script src="publicui/js/jquery-1.8.3.js"></script> 
<script src="publicui/jquery-ui/js/jquery-ui-1.9.2.custom.js"></script> 
<script src="publicui/bootstrap/js/bootstrap.min.js"></script> 
<script src="js/head.js"></script> 
<script language="JavaScript" type="text/javascript">
<!--
function VF_regflag(){
	if ($('#username').val() == "") {
    	$('#usernameMsg').html('请填写用户名');
    	return false;
  	}
  	if($('#verifycode').val() == ""){
  		$('#verifycodeMsg').html('请填写验证码');
    	return false;
  	}
  	else{
  		$('#myform').submit();
  	}
}
function showAuthImg(){
	var url="/authimg?time="+new Date().getTime();
	$("#authimg").attr("src",url);
}
-->
</script>
<s:if test="error!=null&&error!=''">
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel">提示</h3>
  </div>
  <div class="modal-body">
    <p><s:fielderror><s:param>error</s:param></s:fielderror></p>
  </div>
  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
   <!-- <button class="btn btn-primary">确定 </button>   -->
  </div>
</div>
<script type="text/javascript"  >
$('#myModal').modal();
</script>
</s:if>
</body>
</html>
